home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
kermit.columbia.edu
/
kermit.columbia.edu.tar
/
kermit.columbia.edu
/
newsgroups
/
misc.20020314-20021006
/
000215_fdc@columbia.edu_Wed Jul 17 10:38:08 EDT 2002.msg
< prev
next >
Wrap
Text File
|
2002-10-06
|
4KB
|
98 lines
Article: 13527 of comp.protocols.kermit.misc
Path: newsmaster.cc.columbia.edu!news.columbia.edu!news-not-for-mail
From: fdc@columbia.edu (Frank da Cruz)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: How to check that voicemail responds?
Date: 17 Jul 2002 10:37:59 -0400
Organization: Columbia University
Lines: 81
Message-ID: <ah3vg7$rrd$1@watsol.cc.columbia.edu>
References: <s5bZ8.149$2P6.3522@read2.inet.fi>
NNTP-Posting-Host: watsol.cc.columbia.edu
X-Trace: newsmaster.cc.columbia.edu 1026916681 4402 128.59.39.139 (17 Jul 2002 14:38:01 GMT)
X-Complaints-To: postmaster@columbia.edu
NNTP-Posting-Date: 17 Jul 2002 14:38:01 GMT
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:13527
In article <s5bZ8.149$2P6.3522@read2.inet.fi>,
ralf.strandell <ralf.strandell@silja.com> wrote:
: Is it possible to use Kermit to check that a computer-based voicemail system
: (those "press one to ..., press two to..." -systems) is responding?
:
Although Kermit was not intended for voice telephony work, you might be able
to use it.
: The dial command returns "NO CARRIER" both when I answer the call and when I
: do not answer the call.
:
There's no carrier on a voice call. If you want Kermit to place a voice
call, you'll need to change the modem commands:
show modem
set modem command ...
to do whatever your modem requires to make a voice, rather than data, call.
Since Kermit was not designed to interact with a voice-mode call-processing
system, you might need write a script to send commands to the modem and
read and act on its responses.
: I need some method of detecting the answer when
: there is no dial-in service on the other end. (I need to detect incoming
: "voice")
:
You'll have to read your modem manual about this. Some modems have voice
features; some don't. Voice-mode commands and responses might differ from
modem to modem. Examples for Lucent VENUS chipset modems:
AT+FCLASS=8 Enter voice mode
AT+VLS=n Set analong source/destination
AT+VTD=n Set DTMF tone generation duration
AT+VTR Start voice transmission and reception
: Then it would be possible to tell if it's local modem, the phone line / the
: remote modem or the remote system that has failed.
:
The Lucent manual says "The modem will return OK when going off-hook in voice
mode. After answering in voice mode the modem may send any of the following
<DLE> shielded event codes to the DTE, as appropriate:
0-9, A-D, #, * DTMF tones
a Answer tone
b Busy tone
c Fax calling tone
d Dial tone
e Data calling tone
h Local phone on-hook
H Local phone off-hook
R Ring
s Silence timer expired
<ETX> End of voice data transmission"
That's just a sample, but it gives the flavor of how you might be able to
control a voice call through a dialog with your modem.
However, I'm not sure this is going to help much in your case. If the
called party is not returning DTMF tones or generating other events detectable
by the modem (the ones listed above), Kermit is not going to get any signals
or prompts from the modem to act on. There's no way Kermit can "listen" to
a voice on the far end saying "press One, press Two, ..." and know exactly
when to send "ATDT2" (e.g., to press Two). On the other hand, most call
processing systems let you "type ahead", so you don't necessarily have to
wait. If you always want to do the same thing, maybe it's sufficient to
use something like this:
AT+FCLASS=8
ATDTxxxxxxx ; Dial the phone number
wait for the response, e.g. <DLE>a<ETX>, allowing for all possible responses
and handling them appropriately. Then if the call is answered, PAUSE for
the appropriate number of seconds, then send the desired DTMF tone.
Questions about voice calls are becoming more frequent; maybe somebody who
develops a working application could submit it to the Kermit script library:
http://www.columbia.edu/kermit/ckscripts.html
- Frank